<div id="edit-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="editModalLabel">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      
    </div>
    <!-- /.modal-content -->
  </div>
</div>

<script type="text/html" id="edit-form-template">
     <form id="edit-form-data" action="editJson.json" method="post" onsubmit="return false;" class="form-horizontal">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="editModalLabel">签到信息修改</h4>
	      </div>
	      <!-- /.modal-header -->
	      <div class="modal-body">
	        <div class="row">
	           <div class="col-md-12">
	           
	              <div class="form-group">
	                 <label class="col-md-2 control-label">当前用户</label>
	                 <div class="col-md-4">
	                     
	                 </div>
	                 
	                 <label class="col-md-2 control-label">签到类型</label>
	                 <div class="col-md-4">
	                      <input type="text" name="aType" class="form-control" placeholder="填写签到类型" value="{{d.aType}}">
	                 </div>
	              </div>
	              
	              <div class="form-group">
	                 <label class="col-md-2 control-label">签到日期</label>
	                 <div class="col-md-4">
	                    <input type="text" name="aDate" class="form-control" placeholder="请输入签到日期" value="{{d.aDate || ''}}" required>
	                 </div>
	                 
	                 <label class="col-md-2 control-label">签到时间</label>
	                 <div class="col-md-4">
	                    <input type="text" name="aTime" class="form-control" value="{{d.aTime || ''}}">
	                 </div>
	              </div>
	              
	              <div class="form-group">
	                 <label class="col-md-2 control-label">签到地址</label>
	                 <div class="col-md-4">
	                    <input type="text" name="address" class="form-control" placeholder="请输入签到地址" value="{{d.address || ''}}">
	                 </div>
	                 
	                 <label class="col-md-2 control-label">签到经纬度</label>
	                 <div class="col-md-4">
	                    <input type="text" name="longitude" value="{{d.longitude || ''}}">
	                    <input type="text" name="latitude" value="{{d.latitude || ''}}">
	                 </div>
	              </div>

	              
	              <input type="hidden" name="addtime" value="{{d.addtime || ''}}">
	           </div>
	        </div>
	      </div>
	      <!-- /.modal-body -->
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="submit" class="btn btn-primary submit-button">提交</button>
	      </div>
      </form>
</script>